package com.jic.member.service;

import java.lang.Long;
import java.util.List;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.member.entity.RuleConsume;
import org.apache.ibatis.annotations.Param;

/**
* 积分消耗规则详情表
* @author : 
* @email : 
* @since : 2020-01-15 08:28:40
* @version : v1.0.0
*/
public interface RuleConsumeService {

    long insert(RuleConsume ruleConsume);

    long delete(Long id);

    long deleteByRuleInfoId(Long ruleInfoId);

    long update(RuleConsume ruleConsume);

    long updateByRuleInfoId(RuleConsume ruleConsume);

    RuleConsume queryByPrimaryKey(Long id);

    List<RuleConsume> query(RuleConsume ruleConsume);

    PageResult<RuleConsume> queryPage(RuleConsume ruleConsume, Page pageQuery);

}